<?php

class OpinionList extends CWidget
{

    public $opinions;

    public function init()
    {
	if (!$this->opinions) {
	    return false;
	}
    }

    public function run()
    {
	echo $this->render('opinion', array('opinions' => $this->opinions));
    }

}